import { ModuleType } from "../common/ModuleType";
import { SystemSetterInfo } from "./SystemSetterInfo";
import { SystemGuideSetterInfo } from "./SystemGuideSetterInfo";
type int = number;
//class SystemSetter
    
    export  class SystemSetter
    {
        

        public static setShowHideValue(): void
        {
            SystemSetter.hideType = SystemSetter.hideType + 1;
            SystemSetter.hideType = SystemSetter.hideType % 3;
            if (SystemSetter.hideType != 0) 
            {
                if (SystemSetter.hideType != 1) 
                {
                    if (SystemSetter.hideType == 2) 
                    {
                        SystemSetter.localSetter.hideNearPlayerPet = false;
                        SystemSetter.localSetter.hideModel = false;
                    }
                }
                else 
                {
                    SystemSetter.localSetter.hideModel = true;
                    SystemSetter.localSetter.hideNearPlayerPet = true;
                }
            }
            else 
            {
                SystemSetter.localSetter.hideNearPlayerPet = true;
                SystemSetter.localSetter.hideModel = false;
            }
            return;
        }

        public static setHideLightAndEffect(arg1: string): void
        {
            if (arg1 != ModuleType.HideEffect) 
            {
                if (arg1 == ModuleType.ShowEffect) 
                {
                    SystemSetter.localSetter.hideLightAndEffect = true;
                }
            }
            else 
            {
                SystemSetter.localSetter.hideLightAndEffect = false;
            }
            return;
        }

        public static /* var */currentSetter: SystemSetterInfo;

        public static /* var */localSetter: SystemSetterInfo;

        public static /* var */defaultSetter: SystemSetterInfo;

        public static /* var */systemGuideSetterInfo: SystemGuideSetterInfo;

        public static /* var */hideType: int;
    }

            SystemSetter.currentSetter = new SystemSetterInfo();
            SystemSetter.localSetter = new SystemSetterInfo();
            SystemSetter.defaultSetter = new SystemSetterInfo();
            SystemSetter.systemGuideSetterInfo = new SystemGuideSetterInfo();
        